import Http from "@/api/http";
import HttpServer from "@/api/useServerRequest";

/**
 * 解决方案页面
 */
export const getSolutionList = () => {
    return Http.get("/prod-api/api/solution/list");
};


/**
 * @description 解决方案详情页面
 */
export const getSolutionDetailById = (id: number | string) => {
    return Http.get("/prod-api/api/solution/getSolutionDetailsById/" + id);
};

/**
 * 解决方案页面
 */
export const getSolutionListServer = () => {
    return HttpServer.get("/prod-api/api/solution/list");
};


/**
 * @description 解决方案详情页面
 */
export const getSolutionDetailByIdServer = (id: number | string) => {
    return HttpServer.get("/prod-api/api/solution/getSolutionDetailsById/" + id);
};

